<template>
  <div>
    <el-menu-item
      index="consultation-schedule"
      @click="$emit('navigate', '/psychologist/consultation-schedule')"
    >
      <el-icon><Calendar /></el-icon>
      <template #title>咨询预约管理</template>
    </el-menu-item>

    <el-menu-item
      index="consultation-records"
      @click="$emit('navigate', '/psychologist/consultation-records')"
    >
      <el-icon><Document /></el-icon>
      <template #title>咨询记录管理</template>
    </el-menu-item>

    <el-menu-item
      index="patient-archives"
      @click="$emit('navigate', '/psychologist/patient-archives')"
    >
      <el-icon><Folder /></el-icon>
      <template #title>来访者档案</template>
    </el-menu-item>
  </div>
</template>

<script setup>
import { Calendar, Document, Folder } from '@element-plus/icons-vue'

defineEmits(['navigate'])
</script>
